package com.taobao.snowsnow.hibernate.pojo;

import java.io.Serializable;

public class Express implements Cloneable, Serializable {

	private static final long serialVersionUID = -2607538202360856976L;
	
	private Integer id;
	private Contact contact;
	private ExpressFieldPosition expressfieldposition;
	private String name;
	private String codeName;
	private Float firstWeightPrice;
	private Float secondWeightPrice;

	public Express() {
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public ExpressFieldPosition getExpressfieldposition() {
		return this.expressfieldposition;
	}

	public void setExpressfieldposition(
			ExpressFieldPosition expressfieldposition) {
		this.expressfieldposition = expressfieldposition;
	}
	
    @Override
    public Express clone() throws CloneNotSupportedException {
    	Express e = (Express) super.clone();
    	e.setId(null);
        return e;
    }

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCodeName() {
		return this.codeName;
	}

	public void setCodeName(String codeName) {
		this.codeName = codeName;
	}

	public Float getFirstWeightPrice() {
		return this.firstWeightPrice;
	}

	public void setFirstWeightPrice(Float firstWeightPrice) {
		this.firstWeightPrice = firstWeightPrice;
	}

	public Float getSecondWeightPrice() {
		return this.secondWeightPrice;
	}

	public void setSecondWeightPrice(Float secondWeightPrice) {
		this.secondWeightPrice = secondWeightPrice;
	}

	public Contact getContact() {
		return contact;
	}

	public void setContact(Contact contact) {
		this.contact = contact;
	}
}